package org.jeecg.modules.tankerRegistration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 罐车登记表
 * @Author: jeecg-boot
 * @Date:   2024-07-05
 * @Version: V1.0
 */
@Data
@TableName("tanker_registration")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tanker_registration对象", description="罐车登记表")
public class TankerRegistration implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNo;
    /**挂车号*/
    @Excel(name = "挂车号", width = 15)
    @ApiModelProperty(value = "挂车号")
    private String trailerNo;
	/**司机姓名*/
	@Excel(name = "司机姓名", width = 15)
    @ApiModelProperty(value = "司机姓名")
    private String driverName;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String idCard;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String phoneNum;
	/**车队*/
	@Excel(name = "车队", width = 15)
    @ApiModelProperty(value = "车队")
    private String fleet;
	/**车体是否有食用油专用标签*/
	@Excel(name = "车体是否有食用油专用标签", width = 15, dicCode = "isEdibleOilLabel")
    @ApiModelProperty(value = "车体是否有食用油专用标签")
    @Dict(dicCode = "isEdibleOilLabel")
    private Integer isEdibleOilLabel;
	/**前一载卸货公司*/
	@Excel(name = "前一载卸货公司", width = 15)
    @ApiModelProperty(value = "前一载卸货公司")
    private String lastTimeUnloadingCompanyName1;
    /**前二载卸货公司*/
    @Excel(name = "前二载卸货公司", width = 15)
    @ApiModelProperty(value = "前二载卸货公司")
    private String lastTimeUnloadingCompanyName2;
    /**前三载卸货公司*/
    @Excel(name = "前三载卸货公司", width = 15)
    @ApiModelProperty(value = "前三载卸货公司")
    private String lastTimeUnloadingCompanyName3;
	/**前一载卸车货品名称*/
	@Excel(name = "前一载卸车货品名称", width = 15)
    @ApiModelProperty(value = "前一载卸车货品名称")
    private String lastTimeUnloadingGoodsName1;
    /**前二载卸车货品名称*/
    @Excel(name = "前二载卸车货品名称", width = 15)
    @ApiModelProperty(value = "前二载卸车货品名称")
    private String lastTimeUnloadingGoodsName2;
    /**前三载卸车货品名称*/
    @Excel(name = "前三载卸车货品名称", width = 15)
    @ApiModelProperty(value = "前三载卸车货品名称")
    private String lastTimeUnloadingGoodsName3;
	/**前一载卸货日期*/
	@Excel(name = "前一载卸货日期", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "前一载卸货日期")
    private Date lastTimeUnloadingDate1;
    /**前二载卸货日期*/
    @Excel(name = "前二载卸货日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "前二载卸货日期")
    private Date lastTimeUnloadingDate2;
    /**前三载卸货日期*/
    @Excel(name = "前三载卸货日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "前三载卸货日期")
    private Date lastTimeUnloadingDate3;
	/**三载卸货照片*/
	@Excel(name = "三载卸货照片", width = 15)
    @ApiModelProperty(value = "三载卸货照片")
    private String lastTimeUnloadingPhotos;
    /**前三载证明文件*/
    @Excel(name = "前三载证明文件", width = 15)
    @ApiModelProperty(value = "前三载证明文件")
    private String documentation;
	/**上次清洗时间*/
	@Excel(name = "上次清洗时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "上次清洗时间")
    private Date lastTimeCleaningDate;
	/**上次清洗照片*/
	@Excel(name = "上次清洗照片", width = 15)
    @ApiModelProperty(value = "上次清洗照片")
    private String lastTimeCleaningPhotos;
	/**审核状态*/
    @ApiModelProperty(value = "审核状态")
    @Dict(dicCode = "auditStatus")
    private Integer auditStatus;
	/**入场状态*/
    @ApiModelProperty(value = "入场状态")
    @Dict(dicCode = "entryStatus")
    private Integer entryStatus;
	/**入场时间*/
	@Excel(name = "入场时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入场时间")
    private Date entryTime;
	/**入场照片*/
	@Excel(name = "入场照片", width = 15)
    @ApiModelProperty(value = "入场照片")
    private String entryPic;
	/**出场时间*/
	@Excel(name = "出场时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出场时间")
    private Date exitTime;
	/**出场照片*/
	@Excel(name = "出场照片", width = 15)
    @ApiModelProperty(value = "出场照片")
    private String exitPic;
	/**车辆正面斜45度照片*/
	@Excel(name = "车辆正面斜45度照片", width = 15)
    @ApiModelProperty(value = "车辆正面斜45度照片")
    @TableField(value = "vehicle_45_photo")
    private String vehicle45Photo;
	/**罐内照片*/
	@Excel(name = "罐内照片", width = 15)
    @ApiModelProperty(value = "罐内照片")
    private String tankPhoto;
	/**卸油口照片*/
	@Excel(name = "卸油口照片", width = 15)
    @ApiModelProperty(value = "卸油口照片")
    private String oilDischargePortPhoto;
	/**是否异味 */
	@Excel(name = "是否异味 ", width = 15, dicCode = "isOdor")
    @ApiModelProperty(value = "是否异味 ")
    @Dict(dicCode = "isOdor")
    private Integer isOdor;
	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date auditDate;
    /**一次审核人员*/
    @Excel(name = "一次审核人员", width = 15)
    @ApiModelProperty(value = "一次审核人员")
    private String auditName1;
    /**审核品质经理*/
    @Excel(name = "审核品质经理", width = 15)
    @ApiModelProperty(value = "审核品质经理")
    private String auditName2;
    /**审核业务经理*/
    @Excel(name = "审核业务经理", width = 15)
    @ApiModelProperty(value = "审核业务经理")
    private String auditName3;
	/**一次检验人员*/
	@Excel(name = "一次检验人员", width = 15)
    @ApiModelProperty(value = "一次检验人员")
    private String surveyorName1;
    /**二次检验人员*/
    @Excel(name = "二次检验人员", width = 15)
    @ApiModelProperty(value = "二次检验人员")
    private String surveyorName2;
	/**检验时间*/
	@Excel(name = "检验时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检验时间")
    private Date surveyorDate;
    /**报到位置*/
    @Excel(name = "报到位置", width = 15)
    @ApiModelProperty(value = "报到位置")
    private String location;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
    /**登记时间*/
    @Excel(name = "登记时间", width = 15)
    @ApiModelProperty(value = "登记时间")
    private Date registerDate;
    /**微信openId*/
    @ApiModelProperty(value = "微信openId")
    private String openId;
    /**司机签字*/
    @Excel(name = "司机签字", width = 15)
    @ApiModelProperty(value = "司机签字")
    private String driverSign;
    /**司机上传视频*/
    @Excel(name = "司机上传视频", width = 15)
    @ApiModelProperty(value = "司机上传视频")
    private String driverVideo;
    /**检验意见*/
    @Excel(name = "检验意见", width = 15)
    @ApiModelProperty(value = "检验意见")
    private String opinion;
    /**佐证图片*/
    @Excel(name = "佐证图片", width = 15)
    @ApiModelProperty(value = "佐证图片")
    private String evidencePic;
    /**铅封照片*/
    @Excel(name = "铅封照片", width = 15)
    @ApiModelProperty(value = "铅封照片")
    private String leadSealingPic;
    /**铅封人员*/
    @Excel(name = "铅封人员", width = 15)
    @ApiModelProperty(value = "铅封人员")
    private String leadSealingName;
    /**产品种类*/
    @Excel(name = "产品种类", width = 15)
    @ApiModelProperty(value = "产品种类")
    private String productionType;
    /**销售出库单*/
    @Excel(name = "销售出库单", width = 15)
    @ApiModelProperty(value = "销售出库单")
    private String salesOrder;
    /**车辆背面斜45度照片*/
    @Excel(name = "车辆背面斜45度照片", width = 15)
    @ApiModelProperty(value = "车辆背面斜45度照片")
    @TableField(value = "back_45_photo")
    private String back45Photo;
    /**车身照片*/
    @Excel(name = "车身照片", width = 15)
    @ApiModelProperty(value = "车身照片")
    private String vehiclePhoto;
    /**健康证*/
    @Excel(name = "健康证", width = 15)
    @ApiModelProperty(value = "健康证")
    private String healthCertificate;
    /**gps截图*/
    @Excel(name = "gps截图", width = 15)
    @ApiModelProperty(value = "gps截图")
    private String screenshot;
    /**散装食用植物油运输随车装运记录表*/
    @Excel(name = "散装食用植物油运输随车装运记录表", width = 15)
    @ApiModelProperty(value = "散装食用植物油运输随车装运记录表")
    private String onboardRecordForm;
    /**重量(吨)*/
    @Excel(name = "重量(吨)", width = 15)
    @ApiModelProperty(value = "重量(吨)")
    private java.lang.String weight;
    /**收货企业名称*/
    @Excel(name = "收货企业名称", width = 15)
    @ApiModelProperty(value = "收货企业名称")
    private java.lang.String receiptCompany;
    /**发货企业名称*/
    @Excel(name = "发货企业名称", width = 15)
    @ApiModelProperty(value = "发货企业名称")
    private java.lang.String deliverCompany;
    /**验收结果*/
    @Excel(name = "验收结果", width = 15)
    @ApiModelProperty(value = "验收结果")
    private java.lang.String checkResult;
    /**上次验罐不合格标记*/
    @Excel(name = "上次验罐不合格标记", width = 15)
    @ApiModelProperty(value = "上次验罐不合格标记")
    private java.lang.Integer lastUnqualifiedMark;
    /**清洗公司*/
    @Excel(name = "清洗公司", width = 15)
    @ApiModelProperty(value = "清洗公司")
    private java.lang.String cleanCompany;
    /**车头拍照号照片*/
    @Excel(name = "车头拍照号照片", width = 15)
    @ApiModelProperty(value = "车头拍照号照片")
    private java.lang.String cleanPhoto1;
    /**挂车牌照号照片*/
    @Excel(name = "挂车牌照号照片", width = 15)
    @ApiModelProperty(value = "挂车牌照号照片")
    private java.lang.String cleanPhoto2;
    /**清罐场地照片*/
    @Excel(name = "清罐场地照片", width = 15)
    @ApiModelProperty(value = "清罐场地照片")
    private java.lang.String cleanPhoto3;
    /**人员着装照片*/
    @Excel(name = "人员着装照片", width = 15)
    @ApiModelProperty(value = "人员着装照片")
    private java.lang.String cleanPhoto4;
    /**作业场景照片*/
    @Excel(name = "作业场景照片", width = 15)
    @ApiModelProperty(value = "作业场景照片")
    private java.lang.String cleanPhoto5;
}
